package com.woniuxy.classteacher.mapper;

import com.woniuxy.commons.entity.AnswerSheet;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author 李英勇
 * @date 2020/7/24 - 16:07
 */
@Repository
public interface AnswerSheetMapper {
    public List<AnswerSheet> findAnswerSheetBySid(int sid);

    public AnswerSheet findTotalScoreBySid(int sid);
    //通过试卷id和学生id获取答题卡
    public AnswerSheet findAnswerSheetByPidAndSid(int pid,int sid);

    //通过试卷id和学生id批量查询answer_sheet
    public List<AnswerSheet> findAllAnswerByPidAndSid(Map<String,Object> map);
}
